﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="AllReturnToFactoryDetail.aspx.cs" Inherits="WXYW.AllReturnToFactoryDetail" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitlePlaceHolder" runat="server">
    返厂申请单
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ButtonPlaceHolder" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="RightContentPlaceHolder" runat="server">
    <div class="buttonHeader" align="right">
        <img src="image/operateicon/back_back.gif" alt="" /><asp:HyperLink ID="HyperLink1"
            runat="server" NavigateUrl="~/AllReturnToFactoryList.aspx">返回</asp:HyperLink>
    </div>
    <table style="width: 100%; line-height: 25px">
        <tr>
            <td style="width:10%">
                <b>流水号</b>
            </td>
            <td style="width:20%">
                <asp:Label ID="runningNumberLabel" runat="server" Text=""></asp:Label>
            </td>
            <td style="width:10%">  
                <b>申请日期</b>
            </td>
            <td style="width:20%">
                <asp:Label ID="rtfDateTimeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td style="width:10%">
                <b>当前状态</b>
            </td>
            <td style="width:30%">
                <asp:Label ID="statusLbl" runat="server"></asp:Label>
            </td>
        </tr>       
    </table>
    <table  style="width: 100%; line-height: 25px">
         <tr style="height: 25px">
            <td colspan="5" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>返厂流程</b>
            </td>
        </tr>
        <tr>            
            <td style="width:10%">
                工厂RMA#：</td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="facotryRMALabel" runat="server" Text="Label"></asp:Label>
            </td>
            <td style="width:10%"></td>
            <td style="width:10%">
                是否二次维修：</td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="isSecondTimeFC" runat="server"></asp:Label>
            </td>
            
        </tr>
        <tr>            
            <td>
                厂商确认日期：</td>  
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="confirmProviderDateLbl" runat="server"></asp:Label>
            </td>
            <td></td>
            <td>
                RMA#确认日期：
            </td>   
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="confirmRMADateLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <tr style="height: 25px">
            <td>
                返厂发货日期：</td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="sendDateLbl" runat="server"></asp:Label>
            </td>
            <td></td>
            <td>
                工厂收货日期：</td> 
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="factoryReceiveDateLbl" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                收货确认日期：</td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="receiveDateLbl" runat="server"></asp:Label>
            </td>
            <td></td>
            <td>
                收货验证备注：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="receiveRemarklb" runat="server"></asp:Label>
            </td> 
        </tr>
         <tr>
            <td>
                收货确认日期：</td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="checkDateLb" runat="server"></asp:Label>
            </td>
            <td></td>
            <td>
                收货验证备注：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="checkremarklb" runat="server"></asp:Label>
            </td> 
        </tr>
    </table>
    <table width="100%"  style="line-height: 25px">
        <tr>
            <td colspan="5" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>供应商信息</b>
            </td>
        </tr>
        <tr>
            <td style="width:10%">
                供应商名称：
            </td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="providerNameLabel" runat="server"></asp:Label>
            </td>
            <td style="width:10%"></td>
            <td style="width:10%">
                供应商代码：</td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="providerCodeLabel" runat="server"></asp:Label>
            </td>           
        </tr>
        <tr>
            <td>
                联系人：</td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="connectPersonLabel" runat="server"></asp:Label>
            </td>
            <td></td>
            <td>
                联系电话：</td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="phoneLabel" runat="server"></asp:Label>
            </td>
        </tr>        
        <tr style="height: 25px">
            <td>
                通迅地址：</td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="addressLabel" runat="server"></asp:Label>
            </td>
            <td></td> 
            <td>
                电子邮件：</td>  
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="emailLabel" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <table width="100%" style="line-height: 25px">
        <tr>
            <td colspan="5" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>客户信息</b>
            </td>
        </tr>
        <tr>
            <td style="width:10%">
                RMA#
                ：</td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="rmaCodeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td style="width:10%"></td>
            <td style="width:10%">
                申请人：</td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="applicantLabel" runat="server" Text=""></asp:Label>
            </td>            
        </tr>
        <tr>
            <td>
                客户名称：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="customerNameLbl" runat="server" Text=""></asp:Label>
            </td>
            <td></td>
            <td>
                联系电话：
            </td>
             <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="applicantPhoneLabel" runat="server" Text=""></asp:Label>
            </td>            
        </tr>
        <tr>
            <td>
                电子邮件：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="applicantEmailLabel" runat="server" Text=""></asp:Label>
            </td>
            <td colspan="3"></td>
        </tr>
    </table>
    <table style="width: 100%; line-height:25px">
        <tr style="height: 25px">
            <td colspan="5" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>工厂报价信息</b>
            </td>
        </tr>
        <tr style="height: 25px">
            <td style="width:10%">
                报价日期：
            </td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="quotationDateLabel" runat="server"></asp:Label>
            </td>
            <td style="width:10%"></td>
            <td style="width:10%">
                报价确认日期：
            </td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="confirmFactoryQuatationDateLbl" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                报价原因：
            </td>   
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="reasonLabel" runat="server" Text=""></asp:Label>
            </td>
            <td></td>
            <td>
                是否维修：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label runat="server" ID="factoryRepairLbl"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="5">
                <asp:GridView ID="ProviderQuatationGridView" runat="server" AutoGenerateColumns="False"
                    Width="100%" EmptyDataText="没有报价信息">
                    <Columns>
                        <asp:BoundField HeaderText="零件名" DataField="AccessoryName">
                            <ItemStyle Width="30%" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="数量" DataField="Count">
                            <ItemStyle Width="30%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="单价">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("UnitPrice") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <%# Math.Round(Convert.ToDecimal(Eval("UnitPrice")), 2)%>
                            </ItemTemplate>
                            <ItemStyle Width="30%" />
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle BackColor="#CCCCCC" />
                </asp:GridView>
            </td>
        </tr>
    </table>
    <table style="width: 100%; line-height:25px">
        <tr style="height: 25px">
            <td colspan="8" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>客户报价信息</b>
            </td>
        </tr>
        <tr style="height: 25px">
            <td style="width:10%">
                报价日期：
            </td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="customerQuatationDateLbl" runat="server" Text=""></asp:Label>
            </td>
            <td style="width:10%"></td>
            <td style="width:10%">
                报价确认日期：</td>
            <td style="width:35%;border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="customerQuationConfirmDateLbl" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                报价原因：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label ID="customerQuatationReasonLbl" runat="server" Text=""></asp:Label>
            </td>
            <td></td>
            <td>
                是否维修：
            </td>
            <td style="border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: Gray;">
                <asp:Label runat="server" ID="customerDecisionLbl"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="8">
                <asp:GridView ID="CustomerQuatationList" runat="server" AutoGenerateColumns="False"
                    Width="100%">
                    <Columns>
                        <asp:BoundField HeaderText="零件名" DataField="AccessoryName">
                            <ItemStyle Width="30%" />
                        </asp:BoundField>
                        <asp:BoundField HeaderText="数量" DataField="Count">
                            <ItemStyle Width="30%" />
                        </asp:BoundField>
                        <asp:TemplateField HeaderText="单价">
                            <EditItemTemplate>
                                <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("UnitPrice") %>'></asp:TextBox>
                            </EditItemTemplate>
                            <ItemTemplate>
                                <%# Math.Round(Convert.ToDecimal(Eval("UnitPrice")), 2)%>
                            </ItemTemplate>
                            <ItemStyle Width="30%" />
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle BackColor="#CCCCCC" />
                </asp:GridView>
            </td>
        </tr>
    </table>
    <table width="100%" class="tableList">
        <tr style="height: 25px">
            <td colspan="4" style="border-bottom-style: solid; border-bottom-width: 1px;">
                <b>产品信息</b>
            </td>
        </tr>
        <tr style="height: 25px;">
            <th>
                产品型号
            </th>
            <th>
                序列号
            </th>
            <th>
                版本号
            </th>
            <th>
                维修部件
            </th>
            <%--            <th>
                收货日期
            </th>--%>
        </tr>
        <tr style="height: 25px">
            <td>
                <asp:Label ID="productTypeLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="productSerialNumberLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="versionLabel" runat="server" Text=""></asp:Label>
            </td>
            <td>
                <asp:Label ID="problemDescriptionLabel" runat="server" Text=""></asp:Label>
            </td>
            <%--            <td>
                <asp:Label ID="receiveTimeLabel" runat="server" Text=""></asp:Label>
            </td>--%>
        </tr>
    </table>        
</asp:Content>
